home *** CD-ROM | disk | FTP | other *** search
/ Master Visual Basic 3 / Master Visual Basic 3 (SAMS Publishing) (1994).ISO / mvprog / original / ch02 / input.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1994-03-09  |  1.4 KB  |  52 lines

  1. VERSION 2.00
  2. Begin Form frmInput 
  3.    BackColor       =   &H0000FFFF&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Taking Data From the User"
  6.    ClientHeight    =   5370
  7.    ClientLeft      =   870
  8.    ClientTop       =   1215
  9.    ClientWidth     =   6630
  10.    Height          =   5775
  11.    Left            =   810
  12.    LinkTopic       =   "Form3"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    Picture         =   INPUT.FRX:0000
  16.    ScaleHeight     =   5370
  17.    ScaleWidth      =   6630
  18.    Top             =   870
  19.    Width           =   6750
  20.    Begin TextBox txtInput 
  21.       Height          =   495
  22.       Left            =   2760
  23.       TabIndex        =   2
  24.       Top             =   3360
  25.       Width           =   2735
  26.    End
  27.    Begin CommandButton cmdCancel 
  28.       Caption         =   "&Cancel"
  29.       Height          =   495
  30.       Left            =   1560
  31.       TabIndex        =   1
  32.       Top             =   4680
  33.       Width           =   1215
  34.    End
  35.    Begin CommandButton cmdOK 
  36.       Caption         =   "&OK"
  37.       Default         =   -1  'True
  38.       Height          =   495
  39.       Left            =   3240
  40.       TabIndex        =   0
  41.       Top             =   4680
  42.       Width           =   1215
  43.    End
  44. Option Explicit
  45. Sub cmdCancel_Click ()
  46.     frmInput.Hide
  47. End Sub
  48. Sub cmdOK_Click ()
  49.     frmInput.Hide
  50.     ggUserInput = txtInput.Text
  51. End Sub
  52.